<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<script type="text/javascript">
	window.onload=function  () {
		qing=document.getElementsByClassName("qing");
		for (var i = 0; i < qing.length; i++) {
			run[i]
		};
		function run (x) {
			qing[x].onclick=function  () {
				qing[x].parentNode.parentNode.style.display='none'
			}
		}
	}



	</script>
</head>
<body>
	<div class="wu">
		<table>
			<tr>
				<td>1</td>
				<td>2</td>
				<td>3</td>
				<td><input type="button" class="qing" value="删除"></td>
			</tr>
			<tr>
				<td>1</td>
				<td>2</td>
				<td>3</td>
				<td>4</td>
			</tr>
			<tr>
				<td>1</td>
				<td>2</td>
				<td>3</td>
				<td>4</td>
			</tr>


		</table>
	</div>
</body>
</html>